#include <mc9s12dp512.h>     /* derivative information */
#include "linked.h"

#ifndef MOVE_H
#define MOVE_H

#define NUMSTEPS 8

extern struct LinkedStruct* currLeft;
extern struct LinkedStruct* currRight;
extern struct LinkedStruct cycle[NUMSTEPS];
extern int stepVals[NUMSTEPS]; 

void init_movement(void);
void f_step_forward(void);
void f_step_backward(void);
void h_step_forward(void);
void h_step_backward(void);
void rotate(short deg);
void spiral_step(void);

#endif